package com.bls.dao;

import com.bls.entity.HistoryRecord;
import com.fy.toolhelper.db.IBaseDao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 * (HistoryRecord)表数据库访问层
 *
 * @author makejava
 * @since 2022-01-10 18:43:03
 */
public interface HistoryRecordDao  extends IBaseDao<HistoryRecord> {


    HistoryRecord getLastHistoryRecord(Connection connection, Long analyseId) throws SQLException;

    List<HistoryRecord> pageConditionHistoryRecordList(Connection connection, HistoryRecord historyRecordQuery, Integer pageSize, Integer current) throws SQLException;

    int pageConditionHistoryRecordTotal(Connection connection, HistoryRecord historyRecordQuery) throws SQLException;
}